package pojo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * Created by CHENCO7 on 8/11/2017.
 */
@Embeddable
public class Complaint {
    @Column(name = "complaint_content")
    private String complaintContent;
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "complaint_date")
    private Date complaintDate;

    
    public Complaint() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Complaint(String complaintContent, Date complaintDate) {
		super();
		this.complaintContent = complaintContent;
		this.complaintDate = complaintDate;
	}

	public String getComplaintContent() {
        return complaintContent;
    }

    public void setComplaintContent(String complaintContent) {
        this.complaintContent = complaintContent;
    }

    public Date getComplaintDate() {
        return complaintDate;
    }

    public void setComplaintDate(Date complaintDate) {
        this.complaintDate = complaintDate;
    }
}
